from pydantic import BaseModel


class IncomingSo(BaseModel):
    id: int
    section_name: str | None = None
    section_type: str | None = None
    file_name: str


class IncomingSoDelete(BaseModel):
    result: bool = True


class IncomingSoUpdate(IncomingSo):
    pass


class IncomingSoUpdatePartial(IncomingSo):
    id: int | None = None
    section_name: str | None = None
    section_type: str | None = None
    file_name: str | None = None
